package com.umeng.soexample.mvp.model;

import com.umeng.lib_core.http.MResponseManager;
import com.umeng.lib_core.mvp.model.BaseModel;
import com.umeng.soexample.bean.SeeListEntity;
import com.umeng.soexample.mvp.contract.SeeListFragmentContract;
import com.umeng.soexample.network.API;

import javax.inject.Inject;

import io.reactivex.Observable;

public class SeeListFragmentModel extends BaseModel implements SeeListFragmentContract.SeeListFragmentIModel {

    @Inject
    public SeeListFragmentModel() {}

    @Override
    public Observable<SeeListEntity> see_list(String re1quest) {
        return MResponseManager.obtainRetrofit(API.class).see_list_request(re1quest);
    }

    @Override
    public void destroy() {

    }
}
